#ifndef DEG_TO_RAD_H
#define DEG_TO_RAD_H

#define _USE_MATH_DEFINES
#include <math.h>

float DegToRad(float deg)
{
	float result = deg * ((float)M_PI / 180);
	return result;
}

float RadToDeg(float rad)
{
	float result = rad * (180 / (float)M_PI);
	return result;
}

#undef _USE_MATH_DEFINES

#endif